<div class="post">
	<div>
		<?php echo CHtml::link(CHtml::encode($data->title), $data->url,array('class'=>'btn btn-inverse btn-mini')); ?>
	</div>
	<div class="muted">
		<small>
		posted by <?php echo $data->author->username . ' on ' . date('F j, Y',$data->create_time); ?>
		</small>
	</div>
	<div class="contaniner">
		<?php
			echo $data->content;
		?>
	</div>
	<p class="container">
		<b>Tags:</b>
		<code><?php echo implode('</code> <code>', $data->tagLinks); ?></code>
		<br/>
		<small>
		<code><?php echo CHtml::link('Permalink', $data->url); ?></code> |
		<code><?php echo CHtml::link("Comments ({$data->commentCount})",$data->url.'#comments'); ?> </code>|
		<span class="muted">Last updated on <?php echo date('F j, Y',$data->update_time); ?></span>
		</small>
	</p>
</div>
